
<input type="text"  id="searchText" value="{{$topic->title}}"/>
<a class="btn btn-info" id="google">Google Image Search</a>
<div id="googleSearch"></div>


<script>

$('#google').click(function(){
    googleLoader('googleSearch' , $('#searchText').val())
});

</script>